<?php
namespace yida\events;

use yii\base\Event;

class ProcessEvent extends Event
{
    public $processInstanceId;  //流程实例ID:String
    public $formUuid;           //表单uid:String
    public $processCode;        //流程编码:String
    public $originator;         //发起人信息:Object[userId,userName(nameInChinese,nameInEnglish,type)]
    public $data;               //数据:Map
    public $title;              //标题:String
    public $version;            //数据版本:Long
    public $createTimeGMT;
    public $modifiedTimeGMT;
    public $instanceStatus;     //实例状态，取值：RUNNING：运行中  TERMINATED：已终止  COMPLETED：已完成  ERROR：异常
    public $approvedResult;     //审批结果，取值：agree：同意      disagree：拒绝
    public $actionExecutor;     //流程实例当前任务执行人列表Object[name(nameInChinese,nameInEnglish,type),deptName,userId,email]
}